﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RoadTeam.SysInterface;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Enums;

namespace RoadTeam.BsSystem.CS.Maintenance
{
    public class CsMaintenanceFile_Sys : ICsMaintenanceFile
    {
      public DataTable GetEmptyData()
      {
          SqlWhere where = new SqlWhere();
          where.SelectColumn = @" Top 0 BusninessID,BusninessType,ImgType,ImgName,StaffName,ImagePath,App_Identifier ";
         return  TbCsMaintenanceFile.Select(where, GlobalConfig.RtConnectionString);
      }

      public bool InSertFileInfo(DataTable dt)
      {
         return  TbCsMaintenanceFile.InsertDatatable(dt,GlobalConfig.RtConnectionString);
      }
    }
}
